package com.broada.apm.model;

import java.util.Date;

public class Alert {
	private String id;
	private String type;
	private String title;
	private Date firstTime;
	private Date lastTime;
	private String desc;
	private String source;
	private String applicationId;
	private String serviceId;
	private String resourceId;
	private int repeat;
	private int severity;
	private int status;
	private int clearStatus;
	private String key;
	private String applicationName;
	private String serviceName;
	private String resourceUri;
	private String resourceName;
	private String serviceIp;
	private int servicePort;
	private double current;
	private int thresholdTime;

	private Date createdAt;
	private Date updatedAt;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Date getFirstTime() {
		return firstTime;
	}

	public void setFirstTime(Date firstTime) {
		this.firstTime = firstTime;
	}

	public Date getLastTime() {
		return lastTime;
	}

	public void setLastTime(Date lastTime) {
		this.lastTime = lastTime;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public int getRepeat() {
		return repeat;
	}

	public void setRepeat(int repeat) {
		this.repeat = repeat;
	}

	public int getSeverity() {
		return severity;
	}

	public void setSeverity(int severity) {
		this.severity = severity;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getClearStatus() {
		return clearStatus;
	}

	public void setClearStatus(int clearStatus) {
		this.clearStatus = clearStatus;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getKey() {
		return key;
	}

	public String getApplicationId() {
		return applicationId;
	}

	public void setApplicationId(String applicationId) {
		this.applicationId = applicationId;
	}

	public String getServiceId() {
		return serviceId;
	}

	public void setServiceId(String serviceId) {
		this.serviceId = serviceId;
	}

	public String getResourceId() {
		return resourceId;
	}

	public void setResourceId(String resourceId) {
		this.resourceId = resourceId;
	}

	public void setApplicationName(String name) {
		this.applicationName = name;
	}

	public void setServiceName(String name) {
		this.serviceName = name;
	}

	public void setResourceUri(String resUrl) {
		this.resourceUri = resUrl;
	}

	public void setResourceName(String name) {
		this.resourceName = name;
	}

	public void setServiceIp(String ip) {
		this.serviceIp = ip;
	}

	public void setServicePort(int port) {
		this.servicePort = port;
	}

	public String getApplicationName() {
		return applicationName;
	}

	public String getServiceName() {
		return serviceName;
	}

	public String getResourceUri() {
		return resourceUri;
	}

	public String getResourceName() {
		return resourceName;
	}

	public String getServiceIp() {
		return serviceIp;
	}

	public int getServicePort() {
		return servicePort;
	}

	public double getCurrent() {
		return current;
	}

	public void setCurrent(double current) {
		this.current = current;
	}

	public Date getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}

	public Date getUpdatedAt() {
		return updatedAt;
	}

	public void setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
	}

	public int getThresholdTime() {
		return thresholdTime;
	}

	public void setThresholdTime(int thresholdTime) {
		this.thresholdTime = thresholdTime;
	}
}
